package org.demo.ftp;
/**
 * 状态信息
 * @author  
 * @date    2011-1-23
 * @file    org.demo.ftp.StatusInfo.java
 */
public class StatusInfo{
	private String localFileName;
	private String remoteFileName;
	private long completeSize;
	private long currentFileSize;
	private boolean isDownload;
	/**
	 * 构造函数
	 */
	public StatusInfo(){
	}
	/**
	 * 构造函数
	 * @param localFileName
	 * @param remoteFileName
	 * @param completeSize
	 * @param currentFileSize
	 * @param isDownload
	 */
	public StatusInfo(String localFileName, String remoteFileName,
			long completeSize, long currentFileSize, boolean isDownload){
		this.localFileName = localFileName;
		this.remoteFileName = remoteFileName;
		this.completeSize = completeSize;
		this.currentFileSize = currentFileSize;
		this.isDownload = isDownload;
	}
	/**
	 * @return the localFileName
	 */
	public String getLocalFileName() {
		return localFileName;
	}
	/**
	 * @return the remoteFileName
	 */
	public String getRemoteFileName() {
		return remoteFileName;
	}
	/**
	 * @return the completeSize
	 */
	public long getCompleteSize() {
		return completeSize;
	}
	/**
	 * @return the currentFileSize
	 */
	public long getCurrentFileSize() {
		return currentFileSize;
	}
	/**
	 * @return the isDownload
	 */
	public boolean isDownload() {
		return isDownload;
	}
	/**
	 * @param localFileName the localFileName to set
	 */
	public void setLocalFileName(String localFileName) {
		this.localFileName = localFileName;
	}
	/**
	 * @param remoteFileName the remoteFileName to set
	 */
	public void setRemoteFileName(String remoteFileName) {
		this.remoteFileName = remoteFileName;
	}
	/**
	 * @param completeSize the completeSize to set
	 */
	public void setCompleteSize(long completeSize) {
		this.completeSize = completeSize;
	}
	/**
	 * @param currentFileSize the currentFileSize to set
	 */
	public void setCurrentFileSize(long currentFileSize) {
		this.currentFileSize = currentFileSize;
	}
	/**
	 * @param isDownload the isDownload to set
	 */
	public void setDownload(boolean isDownload) {
		this.isDownload = isDownload;
	}
}
